package com.rzjm.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 会员卡
 *
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@TableName("ck_terminals_fitting")
public class TerminalFitting implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer terminalId;
	private String deviceFittingName;
	private Integer healthCount;
	private String healthCountUnit;
	private String healthInfo;
	private String healthRunhuaji;
	private String remark;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastHealthTime;

	@TableField(exist = false)
	private String shopName;
	@TableField(exist = false)
	private CkTerminal terminal;
	@TableField(exist = false)
	private Integer currentCheckCount;
	@TableField(exist = false)
	private Integer currentCleanCount;
	@TableField(exist = false)
	private TerminalCheckRecord lastRecord;
	@TableField(exist = false)
	private String healthCycle;
}
